package com.naire.modul.survey_org.service;

import net.common.service.GeneralService;
import com.naire.modul.survey_org.dao.Survey_orgDao;
import com.naire.modul.survey_org.dao.impl.Survey_orgDaoImpl;
import com.naire.modul.survey_org.vo.Survey_orgVo;

/**
 * 
 * 
 * @author Administrator
 * 
 */
public class Survey_orgDeleteService extends GeneralService {

	private Survey_orgVo bean;

	@Override
	public void execute() throws Exception {
		Survey_orgDao dao = new Survey_orgDaoImpl();
		dao.delete(bean.getSurvey_id());
	}

	public void setBean(Survey_orgVo bean) {
		this.bean = bean;
	}

}
